package com.example.diethealthsystem.repository;

import com.example.diethealthsystem.entity.UserHealthIndex;
import org.springframework.data.jpa.repository.JpaRepository;
import org.springframework.stereotype.Repository;

import java.util.List;

@Repository
public interface UserHealthIndexRepository extends JpaRepository<UserHealthIndex, Long> {
    List<UserHealthIndex> findByUserId(Long userId);
} 